Feature Group
bash internal / data manipulations / positional arguments / positional argument (5)
2
bash
This demonstrates the usage of positional arguments in Bash scripts and functions.
$1 # first argument passed to a script or function $# # the number of arguments passed to a script or functio $* # all the arguments passed to a script or function, treating them as a single string $@ # all the arguments passed to a script or function, treating them as an array
bash internaldata manipulationspositional argumentspositional argument